Open
Conversation
…o DevOps can make changes without developers; 2) assets:precompile without RAILS_MASTER_KEY not able to run coz failed to load credentials.
… RAILS_MASTER_KEY.
… production, it’s already run when the Docker image is built; Move it into the Docker Compose configuration for development only.
…vailable in runtime, maybe due to terser?
…or development. Move to docker compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
staging/productionvia the Capistrano deploy.)Gemfileand.ruby-versionto pin the Ruby and Kamal versions for deployment.pre-buildhook in Kamal.ALLOWED_HOSTSlogic in staging/production environment files. I believe that just for development.Notes
--platform=linux/amd64for chromium installed by puppeteer.Dockerfile.deployhas been tested locally in production mode.RAILS_SERVE_STATIC_FILESenvironment variable has been added inconfig/deploy.yml.RAILS_LOG_TO_STDOUTenvironment variable has also been added inconfig/deploy.ymlso that logs are written to stdout.TODO